<?php

namespace Home\Model;
use Think\Model\RelationModel;
class CStudentModel extends RelationModel{
    protected $_link = array(
     'sys_dict'=>array(
        'mapping_type'=> self::BELONGS_TO,
        'class_name' => 'sys_dict',
        'foreign_key'   => 'level',
'mapping_name'=>'class',
     
    
	 ),);
}